package com.paic.custserv.mapper;

import java.util.List;

import org.mybatis.spring.annotation.MapperScan;

import com.paic.custserv.domain.CussRoleAuthority;

@MapperScan
public interface CussRoleAuthorityMapper {

    int insertCussRoleAuthority(CussRoleAuthority record);

    CussRoleAuthority selectByPrimaryKey(Integer idRoleAuthority);    
    
    int updateCussRoleAuthority(CussRoleAuthority record);
    
    void deleteCussRoleAuthority(Integer idRoleAuthority);
    
    List<CussRoleAuthority> selectByRole(String roleId);

}